Page is under construction.
Feedback Welcome!
Feedback Welcome!
Overview
Livepeer is currently deployed on the Arbitrum L2 network (Arbitrum One). In order to interact with the Livepeer smart contracts you will need to connect to an Arbitrum RPC. If you plan to run your Gateway in On-Chain mode, you will need:- An Ethereum account with funds to pay for transaction fees
- An Ethereum RPC URL to connect to the Arbitrum network where Livepeer is deployed
Required On-Chain Flags
Network ConfigurationSet to the blockchain network
arbitrum-one-mainnet Ethereum JSON-RPC URL
Your Ethereum PUBLIC Wallet (Account) Address.The
0x prefix is optional for -ethAcctAddr
Livepeer accepts addresses both with and without the prefix.Password for your KEYSTORE file orPath to your
password.txt file containing the password for your Keystore AccountPath to your encyrpted keystore directory or keyfile containing your private key
Security Notes
- Never share your
keystorefiles - they contain your encrypted private keys - Use strong passwords for
keystoreencryption - Back up yourkeystoresecurely - TheethPasswordonly protects thekeystorefile - your actual private key is stored encrypted within the keystore - Never share your wallet private key. In c ase of accidental public exposure - remove any funds & change your wallet immediately
Easy Setup with Livepeer Tooling
Install Your Gateway Software First
-> then come back to this guide.
- Enter your private key
- Create an account address (wallet)
-ethAcctAddr - Set a password for the keystore encryption
-ethPassword - Create the keystore file
-ethKeystorePath
Create New Wallet & Keystore
-ethAcctAddr flag.
Exisiting Wallet, New Keystore
Account Data Default Folders
Account data is stored in the~/.lpData directory by default.
Keystore files are by default created in:
- Docker
- Linux / Mac
- Windows
Docker
Next Step
Fund Your Gateway
Comprehensive On-Chain Setup Guide
Full Guide with alternative options for setting up an on-chain Gateway1
Network `-network`
Set to the blockchain network
arbitrum-one-mainnet2
RPC URL `-ethUrl` flag
Ethereum JSON-RPC URLExample: https://arb1.arbitrum.io/rpc
- Public RPCs
- Third-party RPC providers
- Self-hosted RPC
See All RPC Options
See All RPC Options
- Public RPCs
- Third Party RPCs
- Self-Hosted RPC
Public RPCs
Many of the public RPCs apply rate-limits, including the third-party providers. These free-tier RPC’s should be sufficient to run a single Gateway with the latest versions of Livepeer.Chainlist provides a full list of public Arbitrum One RPCs (including the Arbitrum public RPC):- Original Source Chainlist
- Dynamically Imported: Arbitrum RPC Reference
3
ETH Account `-ethAcctAddr`
Blockchain wallets (accounts) have both a public account address (starting with “0x…”) and a private key.This field is for your public wallet address.
ONLY use your PUBLIC Wallet Address in this field.NEVER use your PRIVATE key. A public address is akin to your bank account number, a private key is like your bank PIN or password.
Your public wallet address:
0x...Example: 0xc7653d426f2ec8bc33cdde08b15f535e2eb2f523See All Account Setup Options
See All Account Setup Options
You can
- Use an existing Ethereum wallet address (e.g., from MetaMask, hardware wallet, etc.)
- Let Livepeer automatically create a new wallet address. See code accountmanager.go
- Existing Address
- Automatic Wallet
You can use any existing Ethereum wallet address which can transact on Arbitrum.You will use Arbitrum One Mainnet to transact on the Livepeer network as this is significantly cheaper than using Ethereum, so ensure your wallet can transact on Arbitrum.The following guides are provided as a reference only - no recommendation is made for any specific wallet provider.
4
ETH Password `-ethPassword`
This is NOT your wallet private key.Choose a strong password to secure your keystore file.Make sure to never share or lose access to either the password or the keystore
file
-keystorePassword - it is the path to a password.txt file containing a (strong) password chosen by you.This password is used to decrypt the keystore file and access the (encrypted) private key.Path to a password.txt file containing a (strong) password chosen by you.
See All Password Setup Options
See All Password Setup Options
- Linux / Mac
- Windows
- Docker Setup
5
ETH Keystore `-ethKeystorePath`
This is the path to your keystore directory or keyfile.
Create Automatically with Livepeer Tooling
See Commands to Create Keystore with Livepeer Devtools
See Commands to Create Keystore with Livepeer Devtools
- Linux/Mac Command
- Docker Command
- Windows
Use the command: Enter your private wallet key and password when prompted
See Keystore File Location & Format
See Keystore File Location & Format
Create Now with Ethereum Tooling
Otherwise you can use Ethereum tools to create the keystore - instructions below.If you are here, It is assumed you understand the security implications of exporting your private key and are able to vet & install any required software and convert linux bash commands to your own OS.Livepeer does not endorse or recommend any particular site or tools provided.
See Ethereum Tooling Setup
See Ethereum Tooling Setup
To create the keystore file, you can use one of the following methods:Create Keystore File
- Using Docker: Run the container interactively
- Using
geth(Ethereum’s development tool) - Using
eth-cli(Ethereum’s command line tool) - Using
node - Using web-based sites (not recommended)
- Export your private key from your existing wallet
- Create a keystore file with your private key
- Create a password file with a strong password
- Place the keystore file and password file in the correct directory
1
Export Private Key
Export your private key from your existing wallet
2
Create Keystore File
Example_Keystore.json
3
Create Password File
Create a password.txt file containing a (strong) password chosen by you.
This password is used to decrypt the keystore file and access the private key.
4
Create Password File & Configure Directory
After creating the keystore with Place it in Livepeer’s keystore directory & configure Livepeer to use your account.
geth or eth-cli, you must manually create the password file.6
Funding Your Gateway